import './assets/reset.css'

import { createApp } from 'vue'
import { createPinia } from 'pinia'

import App from './App.vue'
import router from './router'

const app = createApp(App)
app.config.globalProperties.$notice=(msg,type)=>{
    ElNotification({
      title: '通知',
      message: msg,
      type: type,
      duration:1500
    })
    
}
app.use(createPinia())
app.use(router)

app.mount('#app')
